package com.coda.entity;

import com.coda.enumeration.AppointmentStatus;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;

@Schema(description = "预约看房信息表")
@Data
public class ViewAppointment extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @Schema(description = "用户id")
    private Long userId;

    @Schema(description = "用户姓名")
    private String name;

    @Schema(description = "用户手机号码")
    private String phone;

    @Schema(description = "公寓id")
    private Long apartmentId;

    @Schema(description = "预约时间")
    private LocalDateTime appointmentTime;

    @Schema(description = "备注信息")
    private String additionalInfo;

    @Schema(description = "预约状态")
    private Integer appointmentStatus;
}